Fix get_toml() when cfg(test)
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sun, 3 Sep 2023 17:58:53 +0000 (18:58 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Sun, 3 Sep 2023 17:58:53 +0000 (18:58 +0100)
commitedda2b78e8b2c7fd905696b71687cb0860046c04
tree6bd7f33fd7fe5982a61fa4b6cf4b2a688836e76a
parent3b520719962ba7c912336db2bd63e714dd74baa5
Fix get_toml() when cfg(test)

Bug: https://github.com/rust-lang/rust/issues/105766
Last-Update: 2023-03-29

When cfg(test), Config::parse doesn't parse a config.toml but uses default
values, failing when the initial rustc is needed. This is a workaround before
upstream issue gets solved.
Last-Update: 2023-03-29
Gbp-Pq: Name u-fix-get-toml-when-test.patch
src/bootstrap/config.rs